﻿<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:cal="http://www.codeplex.com/prism" xmlns:vsm="clr-namespace:System.Windows;assembly=System.Windows" x:Class="StockTraderRI.Modules.Position.Orders.OrderCommandsView"
    >
    <Grid Margin="0,0,10,10" HorizontalAlignment="Stretch" >
        <StackPanel Height="Auto" VerticalAlignment="Bottom" HorizontalAlignment="Right" Orientation="Horizontal">
            <Button Command="{Binding Mode=OneWay, Path=SubmitCommand}" Content="Submit" AutomationProperties.AutomationId="OrderCommandSubmit" Template="{StaticResource SubmitButtonTemplate}" Cursor="Hand" />
            <Button Command="{Binding Mode=OneWay, Path=CancelCommand}" Content="Cancel" AutomationProperties.AutomationId="OrderCommandCancel" Template="{StaticResource CancelButtonTemplate}" Cursor="Hand" />
        </StackPanel>
    </Grid>
</UserControl>
